package com.songlanyun.modules.celebrity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.celebrity.entity.UserApplyNetRed;
import com.songlanyun.modules.celebrity.model.UserApplyNetRedCheckDTO;
import com.songlanyun.modules.celebrity.model.UserApplyNetRedDTO;
import com.songlanyun.modules.celebrity.model.UserApplyNetRedVO;

import java.util.Map;

/**
 * 网红申请 Service
 *
 * @author zx
 * @date 2021年3月1日 14:47:02
 */
public interface UserApplyNetRedService extends IService<UserApplyNetRed> {

    UserApplyNetRedVO queryOneById(Long id);
    UserApplyNetRedVO queryOneByUserId(Long userId);
    UserApplyNetRed loadLatestOneByUserId(Long userId);

    PageUtils queryPage(Map<String, Object> params);
    UserApplyNetRed check(UserApplyNetRedCheckDTO dto);
    UserApplyNetRed addEntity(Long userId,UserApplyNetRedDTO dto);

}

